# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem          1.0
PortGroup           cmake 1.0

name                seexpr
version             2.11
license             Apache-2
categories          graphics
maintainers         nomaintainer
description         SeExpr is a simple expression language.
long_description    ${description}
homepage            http://www.disneyanimation.com/technology/seexpr.html
platforms           darwin

#master_sites        ${homepage}
#distname            ${version}
#dist_subdir         ${name}/${version}_3
#use_bzip2           yes
master_sites        https://github.com/wdas/SeExpr/archive/
distname            v${version}

checksums           sha1  ff397b05a2bdce17c34cf91148dbc1fec5160fff
worksrcdir          SeExpr-${version}

depends_lib         port:libpng
depends_build       port:doxygen

patchfiles          0001-seexpr-2.11-fix-cxxflags.patch \
                    0002-seexpr-2.11-fix-inline-error.patch \
                    0004-seexpr-2.11-c++98.patch
#patch.cmd           "git apply -v"
patch.pre_args      -p1

build.target-append doc
